package com.qianchang.microfinance.bean;

/**
 * 版 权: 深圳市迪蒙网络科技有限公司
 * 描 述:
 * 修 改 人: zhoulai
 * 修改时间: 2017/8/30 14:05
 */


public class ProjectStatus {

    // 0：待提交 1：待分配、2：审核中、3：待签约、4：待确认、
    // 5：待放款、6：还款中、7：逾期、8：已结清、
    // 9：坏账、10：拒绝签约 = 已取消、11：拒绝放款、12：审核不通过、13：已作废  /

    public static final String DTJ = "0";
    public static final String DFP = "1";
    public static final String SHZ = "2";
    public static final String DQY = "3";
    public static final String DQR = "4";
    public static final String DFK = "5";
    public static final String HKZ = "6";
    public static final String YQ = "7";
    public static final String YJQ = "8";
    public static final String HZ = "9";
    public static final String JJQY = "10";
    public static final String JJFK = "11";
    public static final String BTG = "12";
    public static final String YZF = "13";

    public static String getStatusName(String status) {
        String statusName;
        switch (status) {
            case DTJ:
                statusName = "待提交";
                break;
            case DFP:
                statusName = "待分配";
                break;
            case SHZ:
                statusName = "审核中";
                break;
            case DQY:
                statusName = "待签约";
                break;
            case DQR:
                statusName = "待确认";
                break;
            case DFK:
                statusName = "待放款";
                break;
            case HKZ:
                statusName = "还款中";
                break;
            case YQ:
                statusName = "逾期";
                break;
            case YJQ:
                statusName = "已结清";
                break;
            case HZ:
                statusName = "坏账";
                break;
            case JJQY:
                statusName = "拒绝签约";
                break;
            case JJFK:
                statusName = "拒绝放款";
                break;
            case BTG:
                statusName = "不通过";
                break;
            case YZF:
                statusName = "已作废";
                break;
            default:
                statusName = "";
                break;
        }
        return statusName;
    }

}
